<div class="widget">
    <h3>归档</h3>
    <div class="widget-content">
        <ul class="tag-link">
            <?php $this->widget('Widget_Contents_Post_Date', 'type=month')->to($item); ?>
            <?php while ($item->next()): ?>
            <li>
                <a href="<?php $item->permalink() ?>">
                    <?php $item->date() ?>
                    <span class="badge"><?php $item->count(); ?></span>
                </a>
            </li>
            <?php endwhile; ?>
        </ul>
    </div>
</div>